package org.chen.template;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("movie_template")
public class MovieTemplate extends Model<MovieTemplate> {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String templateName;    // 模板名称
    private String templateContent; // 模板内容（JSON格式）
    private String description;     // 模板描述
    private Boolean isEnabled;      // 是否启用
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}